package cn.edu.scau.cmi.liangzijian.client;

import cn.edu.scau.cmi.liangzijian.interProgramming.UIController;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;

public class InterProgrammingClient extends Application {
	@Override
	public void start(Stage primaryStage) throws Exception {		
		FXMLLoader loader = new FXMLLoader(
				getClass().getResource("/cn/edu/scau/cmi/liangzijian/interProgramming/UI.fxml"));
		
		AnchorPane root = loader.load();
		
		UIController uiController = loader.getController();
		
		primaryStage.setTitle("lab1");
		primaryStage.setScene(new Scene(root));
		primaryStage.show();
	}
	
	public static void main(String[] args) {
		launch(args);
	}
}
